McKay’s Canonical Graph Labeling Algorithm
نویسندگان
چکیده
The problem of deciding whether two graphs are isomorphic is fundamental in graph theory. Moreover, the flexibility with which other combinatorial objects can be modeled by graphs has meant that efficient programs for deciding whether graphs are isomorphic have also been used to study a variety of other combinatorial structures. Not only is the graph isomorphism problem a very practical one, it is also fascinating from a complexity-theoretic point of view. Graph isomorphism is one of the few problems that are clearly in NP but not known either to be solvable in polynomial time, or to be NPcomplete. Various people have worked to create algorithms for graph isomorphism which are “practical in practice”. One of the most powerful and best known of these algorithms is due to Brendan McKay. It is known that his algorithm has exponential running time on some inputs, but it performs exceptionally well under most circumstances. In this article we aim to provide an introduction to the essential ideas of McKay’s algorithm.
منابع مشابه
To appear in Groups and Computation II The complexity of McKay’s canonical labeling algorithm
We study the time complexity of McKay’s algorithm to compute canonical forms and automorphism groups of graphs. The algorithm is based on a type of backtrack search, and it performs pruning by discovered automorphisms and by hashing partial information of vertex labelings. In practice, the algorithm is implemented in the nauty package. We obtain colorings of Fürer’s graphs that allow the algori...
متن کاملAn Adaptive Prefix-Assignment Technique for Symmetry Reduction
This paper presents a technique for symmetry reduction that adaptively assigns a prefix of variables in a system of constraints so that the generated prefix-assignments are pairwise nonisomorphic under the action of the symmetry group of the system. The technique is based on McKay’s canonical extension framework [J. Algorithms 26 (1998), no. 2, 306–324]. Among key features of the technique are ...
متن کاملGraph Symmetry Detection and Canonical Labeling: Differences and Synergies
Symmetries of combinatorial objects are known to complicate search algorithms, but such obstacles can often be removed by detecting symmetries early and discarding symmetric subproblems. Canonical labeling of combinatorial objects facilitates easy equivalence checking through quick matching. All existing canonical labeling software also finds symmetries, but the fastest symmetry-finding softwar...
متن کاملInterval Graphs: Canonical Representations in Logspace
We present a logspace algorithm for computing a canonical labeling, in fact a canonical interval representation, for interval graphs. To achieve this, we compute canonical interval representations of interval hypergraphs. This approach also yields a canonical labeling of convex graphs. As a consequence, the isomorphism and automorphism problems for these graph classes are solvable in logspace. ...
متن کاملImproved random graph isomorphism
Canonical labeling of a graph consists of assigning a unique label to each vertex such that the labels are invariant under isomorphism. Such a labeling can be used to solve the graph isomorphism problem. We give a simple, linear time, high probability algorithm for the canonical labeling of a G(n, p) random graph for p ∈ [ ω ( ln n/n ln lnn ) , 1− ω ( ln n/n ln lnn )] . Our result covers a gap ...
متن کامل